package com.xiangmo.travel.mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiangmo.travel.Entity.Collect;
import org.springframework.stereotype.Repository;

@Repository
public interface CollectMapper extends BaseMapper<Collect> {
    int deleteByAttractionsIdAndUserId(@Param("attractionsId") Long attractionsId, @Param("userId") Long userId);
}
